CE Gobi SDK  2.7
GobiApi
GobiAPI.h
1 #ifndef __GOBIAPI_H__
2 /*===========================================================================
3 FILE:
4  GobiAPI.h
5 
6 DESCRIPTION:
7  Sierra Wirless CE Gobi SDK Top level header file
8 
9 Copyright (C) 2015 Sierra Wireless Incorporated. All rights reserved.
10  Sierra Wireless Proprietary/GTDR
11 ==========================================================================*/
12 
13 
14 /*=========================================================================*/
15 // Definitions
16 /*=========================================================================*/
17 #ifdef GOBIAPI_EXPORTS
18  #define IMPORTGOBI extern "C" __declspec( dllexport )
19 #else //GOBIAPI_EXPORTS
20  #ifdef __cplusplus
21  /* C++ callable DLL */
22  #define IMPORTGOBI extern "C" __declspec( dllimport )
23  #else
24  /* C callable DLL */
25  #define IMPORTGOBI __declspec( dllimport )
26  #endif
27 #endif //GOBIAPI_EXPORTS
28 
29 #ifdef GOBIAPI_EXPORTS
30  #define SWIIMPORT extern "C" __declspec( dllexport )
31 #else //GOBIAPI_EXPORTS
32  #ifdef __cplusplus
33  /* C++ callable DLL */
34  #define SWIIMPORT extern "C" __declspec( dllimport )
35  #else
36  /* C callable DLL */
37  #define SWIIMPORT __declspec( dllimport )
38  #endif
39 #endif //GOBIAPI_EXPORTS
40 
41 // Calling convention for API
42 #define SWICALLBACK __stdcall
43 #define SWICMAPI __stdcall
44 
45 // Calling convention for API
46 #define GOBICALLBACK __stdcall
47 #define GOBICMAPI __stdcall
48 // Calling convention for API
49 #define GOBIAPI __cdecl
50 
51 
52 /*=========================================================================*/
53 // ANSI/UNICODE Varaints
54 /*=========================================================================*/
55 #ifdef UNICODE
56  #define GetFirmwareID GetFirmwareIDW
57  #define UpgradeFirmware UpgradeFirmwareW
58  #define UpgradeFirmware2k UpgradeFirmware2kW
59  #define GetImageInfo GetImageInfoW
60  #define GetImageStore GetImageStoreW
61 
62 #else
63  #define GetFirmwareID GetFirmwareIDA
64  #define UpgradeFirmware UpgradeFirmwareA
65  #define UpgradeFirmware2k UpgradeFirmware2kA
66  #define GetImageInfo GetImageInfoA
67  #define GetImageStore GetImageStoreA
68 #endif
69 
70 
71 #include <SwiWwanCmApi.h>
72 #include <GobiConnectionMgmtAPI.h>
73 #include <QMIDMS.h>
74 #include <GobiImageMgmtAPI.h>
75 #include <GobiPBMgmtAPI.h>
76 #include <GobiUIMMgmtAPI.h>
77 #include <GobiVoiceMgmtAPI.h>
78 #include <QCWWANCMAPI2k.h>
79 #include <SwiM2MAVAPI.h>
80 #include <QmiWDS.h>
81 #include <QmiNAS.h>
82 #include <SwiDMS.h>
83 #include <QmiCAT.h>
84 #include <QmiPDS.h>
85 #include <QmiWMS.h>
86 #include <QmiOMA.h>
87 #include <QmiRMS.h>
88 #include <SwiOMADMEX.h>
89 #include <PlaceHolder.h>
90 
95 IMPORTGOBI ULONG GOBICMAPI SetDeviceRemovalCallback(
105  tFNDeviceRemoval pCallback );
106 
121 IMPORTGOBI ULONG GOBICMAPI GetImageStoreA(
122  WORD pathSize,
123  CHAR * pImageStorePath );
124 
140 IMPORTGOBI ULONG GOBICMAPI GetImageInfoA(
141  CHAR * pPath,
142  ULONG * pFirmwareID,
143  ULONG * pTechnology,
144  ULONG * pCarrier,
145  ULONG * pRegion,
146  ULONG * pGPSCapability );
147 
148 
164 IMPORTGOBI ULONG GOBICMAPI GetImageInfoW(
165  WCHAR * pPath,
166  ULONG * pFirmwareID,
167  ULONG * pTechnology,
168  ULONG * pCarrier,
169  ULONG * pRegion,
170  ULONG * pGPSCapability );
171 
172 
190 IMPORTGOBI ULONG GOBICMAPI UpgradeFirmware2kA( CHAR * pDestinationPath );
191 
209 IMPORTGOBI ULONG GOBICMAPI UpgradeFirmware2kW( WCHAR * pDestinationPath );
210 
228 IMPORTGOBI ULONG GOBICMAPI UpgradeFirmware2kA( CHAR * pDestinationPath );
229 
230 
231 
246 IMPORTGOBI ULONG GOBICMAPI GetImageStoreW(
247  WORD pathSize,
248  WCHAR * pImageStorePath );
249 
269 IMPORTGOBI ULONG GOBICMAPI UpgradeFirmwareA(
270  CHAR * pSourcePath,
271  CHAR * pDestinationPath );
272 
294 IMPORTGOBI ULONG GOBICMAPI UpgradeFirmwareW(
295  WCHAR * pSourcePath,
296  WCHAR * pDestinationPath );
297 
298 
299 
312 IMPORTGOBI ULONG GOBICMAPI GetFirmwareIDA(
313  CHAR * pPath,
314  ULONG * pFirmwareID );
315 
327 IMPORTGOBI ULONG GOBICMAPI GetFirmwareIDW(
328  WCHAR * pPath,
329  ULONG * pFirmwareID );
330  // End of MISC group
332 
333 #endif
IMPORTGOBI ULONG GOBICMAPI GetImageInfoA(CHAR *pPath, ULONG *pFirmwareID, ULONG *pTechnology, ULONG *pCarrier, ULONG *pRegion, ULONG *pGPSCapability)
IMPORTGOBI ULONG GOBICMAPI GetFirmwareIDW(WCHAR *pPath, ULONG *pFirmwareID)
IMPORTGOBI ULONG GOBICMAPI UpgradeFirmware2kW(WCHAR *pDestinationPath)
IMPORTGOBI ULONG GOBICMAPI GetImageStoreA(WORD pathSize, CHAR *pImageStorePath)
IMPORTGOBI ULONG GOBICMAPI GetFirmwareIDA(CHAR *pPath, ULONG *pFirmwareID)
IMPORTGOBI ULONG GOBICMAPI UpgradeFirmwareW(WCHAR *pSourcePath, WCHAR *pDestinationPath)
IMPORTGOBI ULONG GOBICMAPI GetImageStoreW(WORD pathSize, WCHAR *pImageStorePath)
IMPORTGOBI ULONG GOBICMAPI UpgradeFirmware2kA(CHAR *pDestinationPath)
IMPORTGOBI ULONG GOBICMAPI UpgradeFirmwareA(CHAR *pSourcePath, CHAR *pDestinationPath)
IMPORTGOBI ULONG GOBICMAPI SetDeviceRemovalCallback(tFNDeviceRemoval pCallback)
IMPORTGOBI ULONG GOBICMAPI GetImageInfoW(WCHAR *pPath, ULONG *pFirmwareID, ULONG *pTechnology, ULONG *pCarrier, ULONG *pRegion, ULONG *pGPSCapability)